<?php
namespace Gustavo\Hogar\UsuariosBundle\Entity;
use Doctrine\ORM\Mapping as ORM;

/**
 * Clase que representa los usuarios del sistema
 * @author Gustavo Rivas <gustavo.cuentas@live.com>
 * 
 * @ORM\Entity
 * @ORM\Table(name="usuarios")
 */ 
class User
{
     /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $id;
    
    /**
     * Nombre del Usuario
     * @var String 
     * @ORM\Column(type="string", length=100)
     */
    protected $name;
 
    /**
     *Apellido del Usuario
     * @var String 
     * @ORM\Column(type="string", length=100)
     */
    protected $lastName;
    /**
     *Dirección del Usuario
     * @var String 
     * @ORM\Column(type="text")
     */
    protected $address;
    /**
     *Fecha de Registro dd/MM/yyyy hh:mm
     * @var Date
     * @ORM\Column(type="string", length=20)
     */
    protected $registerDate;
    /**
     *Vigencia del Usuario
     * @var boolean True o False
     * @ORM\Column(type="string", length=5)
     */        
    protected $enable;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set name
     *
     * @param string $name
     * @return User
     */
    public function setName($name)
    {
        $this->name = $name;

        return $this;
    }

    /**
     * Get name
     *
     * @return string 
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * Set lastName
     *
     * @param string $lastName
     * @return User
     */
    public function setLastName($lastName)
    {
        $this->lastName = $lastName;

        return $this;
    }

    /**
     * Get lastName
     *
     * @return string 
     */
    public function getLastName()
    {
        return $this->lastName;
    }

    /**
     * Set address
     *
     * @param string $address
     * @return User
     */
    public function setAddress($address)
    {
        $this->address = $address;

        return $this;
    }

    /**
     * Get address
     *
     * @return string 
     */
    public function getAddress()
    {
        return $this->address;
    }

    /**
     * Set registerDate
     *
     * @param string $registerDate
     * @return User
     */
    public function setRegisterDate($registerDate)
    {
        $this->registerDate = $registerDate;

        return $this;
    }

    /**
     * Get registerDate
     *
     * @return string 
     */
    public function getRegisterDate()
    {
        return $this->registerDate;
    }

    /**
     * Set enable
     *
     * @param string $enable
     * @return User
     */
    public function setEnable($enable)
    {
        $this->enable = $enable;

        return $this;
    }

    /**
     * Get enable
     *
     * @return string 
     */
    public function getEnable()
    {
        return $this->enable;
    }
}
